ENTITY

canceled_transfers

Represents a crosschain transfer that has been canceled.

A cross-chain transfer that is past its deadline can be canceled if it never was applied (with apply_transfer on the last chain). To do so, cancel_transfer needs to be called (instead of apply_transfer) on the chain that would be next in the flow.

For example, if a chain going A -> B -> C expired after init_transfer and never got applied on chain B, cancel_transfer must be called on chain B. If it instead expired after applying it on chain B, it must be canceled on chain C.

See Also

entity canceled_transfers {

The ID of the transaction that initialized this cross-chain transfer

key init_tx_rid: byte_array;

The index of the operation in the transaction that initialized this cross-chain transfer

key init_op_index: integer;

The RID of the transaction that canceled this transfer, all zeros if it was created before v1.2.0

transaction_rid: byte_array;

The index of the operation in the transaction that canceled this transfer

op_index: integer;
}
© 2024 Chromia